adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / ResolveSecurityNames Method
List of names to resolve.


In This Topic
    ResolveSecurityNames Method
    In This Topic
    Attempts to resolve one or more Windows principal names and returns the corresponding SecurityIdentifiers.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function ResolveSecurityNames( _
       ByVal names() As String _
    ) As ReadOnlyCollection(Of SecurityIdentifier)
    [NotNull()]
    public ReadOnlyCollection<SecurityIdentifier> ResolveSecurityNames( 
       string[] names
    )
    [NotNull()]
    public:
    ReadOnlyCollection<SecurityIdentifier^>^ ResolveSecurityNames( 
       array<String^>^ names
    ) 

    Parameters

    names
    List of names to resolve.

    Return Value

    A list of SecurityIdentifiers corresponding to the names. See Remarks.
    Remarks
    The returned collection of SecurityIdentifiers is ordered the same as the names collection, with a null value for any name that could not be resolved. For example, the SecurityIdentifier for names[0] can be found at index 0 in the returned collection.
    See Also