Add Method

Applies To   See Also   Example  

Adds a new user group alias to an existing group's collection.

Syntax
Function Add(
    AliasName As String,
    [Disabled As Boolean = False]) As UserGroupAlias
Parameters

AliasName

The name of the third-party user group alias to be added. For local groups, the name takes this form: AuthPluginName:\\ServerName\GroupName. It takes this form for global groups: AuthPluginName:DomainName\GroupName. For example, the alias for a local NT group would look like this: secWindowsNT:\\ServerName\GroupName. For a list of third-party authentication plugin names, see Retrieving an authentication plugin.

Disabled

Specifies whether the alias will be disabled or enabled. It is enabled by default.

Remarks

If you use the Add method to add a third-party user group alias to an existing Enterprise group, you must update the appropriate authentication plugin so that the members of the third-party group are added to the system. You cannot use one of the third-party Authentication plugins to create a new group, and then re-assign the user group alias to an existing group.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com