VistaDB 6
VistaDB.Web Namespace / VistaDBRoleProvider Class / RemoveUsersFromRoles Method
A string array of user names to be removed from the specified roles.
A string array of role names to remove the specified user names from.


In This Topic
    RemoveUsersFromRoles Method
    In This Topic
    Removes the specified user names from the specified roles for the configured applicationName.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Sub RemoveUsersFromRoles( _
       ByVal usernames() As System.String, _
       ByVal roleNames() As System.String _
    ) 
    'Usage
     
    
    Dim instance As VistaDBRoleProvider
    Dim usernames() As System.String
    Dim roleNames() As System.String
     
    instance.RemoveUsersFromRoles(usernames, roleNames)
    public override void RemoveUsersFromRoles( 
       System.string[] usernames,
       System.string[] roleNames
    )

    Parameters

    usernames
    A string array of user names to be removed from the specified roles.
    roleNames
    A string array of role names to remove the specified user names from.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also