GetUserGroupNo |
Scroll |
Returns the numeric ID of a user or group in Thereforeā¢.
Namespace: Therefore.API
Visual Basic Public Overridable Function GetUserGroupNo ( _ strDomain As String, _ strUser As String, _ bCreateUser As Boolean, _ ) As Integer C# public virtual int GetUserGroupNo ( string strDomain, string strDomain, bool bCreateUser, )
Parameters strDomain The domain name of the queried user.
strUser The username of the queried user.
bCreateUser Set to true if the user should be added to the Thereforeā¢ database. If the user is already in the Thereforeā¢ database, this parameter is ignored.
Return Value The numeric ID of the user or group in Thereforeā¢. 0 if the user has not been added to the Thereforeā¢ database yet. |
|
Requires Connection You must be connected to the Thereforeā¢ Server when calling this method. |