AfUser Class Reference

Inherits DataNode.


Detailed Description

.NET C# bindings for services exported by module af_user.


Public Member Functions

NulData AfGroupAdd (int af_group_id)
 Allows to make the given Af-Arch user belong to the given Af-Arch Group.
NulData AfGroupRemove (int af_group_id)
 Allows to remove the given Af-Arch user from the given Af-Arch group.
NulData AfGroupSet (int af_group_id, bool value_to_set)
 Allows to set a relation between the given group and user according to the status for the given value_to_set.
 AfUser (IntPtr obj)
 From unmanaged object pointer constructor for AfUser objects.
 AfUser (string _nick, string _description)
 All arguments provided constructor for AfUser objects.
 AfUser ()
 Empty attributes constructor for AfUser objects.
override NulData Commit ()
 Commits to the database current status of the given object using either new or edit service.
NulData PermissionAdd (int permission_id)
 Allows to set the given permission to the given Af-Arch user enabling user to invoke the service.
NulData PermissionRemove (int permission_id)
 Allows to remove the given permission for the given user.
NulData PermissionSet (int permission_id, bool value_to_set)
 Allows to change current relation between the given user and permission according to the value of value_to_set.
override NulData Remove ()
 Removes the given Af-Arch user identified by id parameter.

Static Public Member Functions

static NulData AfGroupAdd (int af_user_id, int af_group_id)
 Allows to make the given Af-Arch user belong to the given Af-Arch Group.
static SimpleData AfGroupNumElements (int af_group_id)
 Allows to get how many user there are on the given group.
static NulData AfGroupRemove (int af_user_id, int af_group_id)
 Allows to remove the given Af-Arch user from the given Af-Arch group.
static NulData AfGroupSet (int af_user_id, int af_group_id, bool value_to_set)
 Allows to set a relation between the given group and user according to the status for the given value_to_set.
new static int GetAttributePosition (string attribute)
 Allows to get current position for a given attribute inside the class.
static AfDalList GetList (int initial, int max_row_number)
 Show actual list of users created inside the system.
static SimpleData NumElement ()
 Allows to get how many Af-Arch user are already created on the system.
static NulData PermissionAdd (int af_user_id, int permission_id)
 Allows to set the given permission to the given Af-Arch user enabling user to invoke the service.
static SimpleData PermissionNumElements (int permission_id)
 Allows to get how many users have already set the given permission defined by permission_id.
static NulData PermissionRemove (int af_user_id, int permission_id)
 Allows to remove the given permission for the given user.
static NulData PermissionSet (int af_user_id, int permission_id, bool value_to_set)
 Allows to change current relation between the given user and permission according to the value of value_to_set.
static NulData Remove (int id)
 Removes the given Af-Arch user identified by id parameter.

Data Fields

string Description
 A description for the Af-Arch user.
string Nick
 User login (short name which identifies the user across Af-Arch system).
string Password
 User password.