The impetus for this is to reduce the overhead and ensure consistency of the user repository.
Public Member Functions | |
| HRESULT | AddMember ([in] IDSSUser *pUser,[in] IDSSUser *pMember) |
| Add a member into the membership of a user or a user group. | |
| HRESULT | Administrator ([out, retval] IDSSUser ppAdministrator) |
| The administrator user account Returns the Administrator user account. | |
| HRESULT | ClearMembership ([in] IDSSUser *pUser) |
| Clear the membership of a user or a user group This method clears the membership list of a user or a user group and saves the changes of all related users and user groups. | |
| HRESULT | CreateGroup ([in] BSTR Name,[in, defaultvalue(0)] Int32 Flags,[in, defaultvalue(0)] Int32 WindowsNTSIDLength,[in, optional] VARIANT *pWindowsNTSID,[out, retval] IDSSUserAccount ppUserGroup) |
| Creates a new user group. | |
| HRESULT | CreateUser ([in] BSTR FullName,[in] BSTR LoginName,[in, defaultvalue(0)] Int32 Flags,[in, defaultvalue(0)] Int32 WindowsNTSIDLength,[in, defaultvalue(0)] VARIANT *pWindowsNTSID,[in, defaultvalue("")] BSTR RDBMSLogin,[out, defaultvalue(0)] BSTR *pNewLoginName,[out, retval] IDSSUserAccount ppUserAccount) |
| Creates a new user account. | |
| HRESULT | CreateUserProfile ([in] IDSSProject *pProject,[in] IDSSUser *pUser,[in, defaultvalue(0)] Int32 Flag) |
| Creates a user profile for a user under a project This method creates the user profile folders for a user under a project. | |
| HRESULT | DeleteGroup ([in] IDSSUser *pUserGroup,[in, defaultvalue(0)] Int32 Flags) |
| Deletes an existing user group. | |
| HRESULT | DeleteUser ([in] IDSSUser *pUser,[in, defaultvalue(0)] Int32 Flags) |
| Delete a user account. | |
| HRESULT | DeleteUserProfile ([in] IDSSProject *pProject,[in] IDSSUser *pUser,[in, defaultvalue(0)] Int32 Flag) |
| Deletes a user profile of a user from a project This method deletes the user profile folders for a user under a project. | |
| HRESULT | DuplicateGroup ([in] IDSSUserAccount *pOriginal,[in] BSTR Name,[in, defaultvalue(0)] Int32 Flags,[in, defaultvalue(0)] Int32 WindowsNTSIDLength,[in, optional] VARIANT *pWindowsNTSID,[out, retval] IDSSUserAccount ppUserGroup) |
| Duplicates an existed user group This method duplicates a user group. | |
| HRESULT | DuplicateUser ([in] IDSSUserAccount *pOriginal,[in] BSTR LoginName,[in, defaultvalue(0)] Int32 Flags,[in, defaultvalue("")] BSTR FullName,[in, defaultvalue(0)] Int32 WindowsNTSIDLength,[in, optional] VARIANT *pWindowsNTSID,[in, defaultvalue("")] BSTR RDBMSLogin,[out, defaultvalue(0)] BSTR *pNewLoginName,[out, retval] IDSSUserAccount ppUserAccount) |
| This method duplicates a user account (user object). | |
| HRESULT | Everyone ([out, retval] IDSSUser ppEveryone) |
| Returns the Everyone user group. | |
| HRESULT | Groups ([in, defaultvalue(0)] Int32 Flags,[out, retval] IDSSCollection ppGroupFolder) |
| Generate a collection of user group objects. | |
| HRESULT | LoadUsers ([in] IDSSUsers *pUserCollection,[in] EnumDSSSourceFlags LoadFlags) |
| This method loads all users in a IDSSUsers collection into Object Server cache with requested parts of their definition. | |
| HRESULT | Public ([out, retval] IDSSUser ppPublic) |
| The Public user group Returns the Public user group that represents the anonymous users. | |
| HRESULT | RemoveMember ([in] IDSSUser *pUser,[in] IDSSUser *pMember) |
| Remove a member from the membership of a user or a user group. | |
| HRESULT | SystemAdmins ([out, retval] IDSSUser ppSystemAdmins) |
| Returns the SystemAdmins user group that represents the system administrator users. | |
| HRESULT | SystemMonitors ([out, retval] IDSSUser ppSystemMonitors) |
| The system monitors user group Returns the SystemMonitors user group that represents the system monitor users. | |
| HRESULT | Users ([in, defaultvalue(0)] Int32 Flags,[out, retval] IDSSCollection ppUserFolder) |
| Generate a collection that contains user accounts. | |
|
||||||||||||
|
Add a member into the membership of a user or a user group. This method is similar to the Add method in IDSSUsers. It adds a user or a user group to the membership of a user group. The method saves any change made to either object.
|
|
|
The administrator user account Returns the Administrator user account.
|
|
|
Clear the membership of a user or a user group This method clears the membership list of a user or a user group and saves the changes of all related users and user groups.
|
|
||||||||||||||||||||||||
|
Creates a new user group. If the name is in use by another user group, an error will be returned.
|
|
||||||||||||||||||||||||||||||||||||
|
Creates a new user account. This method creates a new user account (user object) and adds this new user account under Everyone user group. The Everyone user group is added into this user's membership.
|
|
||||||||||||||||
|
Creates a user profile for a user under a project This method creates the user profile folders for a user under a project. This method is only supported on a project session.
|
|
||||||||||||
|
Deletes an existing user group. An error is returned if an attempt to delete Everyone group is made.
|
|
||||||||||||
|
Delete a user account. An error is returned if an attempt to delete Administrator user account is made.
|
|
||||||||||||||||
|
Deletes a user profile of a user from a project This method deletes the user profile folders for a user under a project. This method is only supported on a project session.
|
|
||||||||||||||||||||||||||||
|
Duplicates an existed user group This method duplicates a user group. If the name is used by another user group, an error is returned.
|
|
||||||||||||||||||||||||||||||||||||||||
|
This method duplicates a user account (user object). The Abbreviation (LoginName), Windows NT SID, RDBMSLogin, and Inbox properties of the new user account are set to NULL. The new user account is added under Everyone user group. The Everyone user group is added into this new user's membership. All the membership of the original user account is copied into the membership of the new user.
|
|
|
Returns the Everyone user group. The Everyone user group is a system defined user group whose membership contains all users in the repository.
|
|
||||||||||||
|
Generate a collection of user group objects. The flag indicates which kinds of user groups is in the result collection. If no option is provided, all user groups in the MD repository are in the result collection.
|
|
||||||||||||
|
This method loads all users in a IDSSUsers collection into Object Server cache with requested parts of their definition. Since all user objects in the collection are loaded in one call, it reduces the time required to access these users.
|
|
|
The Public user group Returns the Public user group that represents the anonymous users.
|
|
||||||||||||
|
Remove a member from the membership of a user or a user group. It removes a user or a user group from the membership of a user group, or a user group from the membership of a user. The method saves the changes of both objects.
|
|
|
Returns the SystemAdmins user group that represents the system administrator users.
|
|
|
The system monitors user group Returns the SystemMonitors user group that represents the system monitor users.
|
|
||||||||||||
|
Generate a collection that contains user accounts. The flag indicates which kinds of users are in the result collection. If no option is provided, all user accounts in the user depository are in the result collection. Alternatively the collection can be restricted to enabled users and the like.
|