UserLock API
Public Member Functions | Static Public Member Functions | List of all members
ProtectedAccounts Class Reference

List of protected accounts. See the class ProtectedAccount and see the property ProtectedAccounts of the UserLockServer class to see how to retrieve such a list. More...

Inherits List< ProtectedAccount >.

Public Member Functions

ProtectedAccount FindAccount (string identifer)
 Find a protected account in the list. More...
 

Static Public Member Functions

static bool IsTemporaryName (string s)
 Determines if the account name in parameter is a temporary name. More...
 

Detailed Description

List of protected accounts. See the class ProtectedAccount and see the property ProtectedAccounts of the UserLockServer class to see how to retrieve such a list.

Member Function Documentation

ProtectedAccount FindAccount ( string  identifer)

Find a protected account in the list.

Parameters
identiferIdentifer of the protected account.
Returns
Returns a ProtectedAccount instance if the account was found. Returns null otherwise.
static bool IsTemporaryName ( string  s)
static

Determines if the account name in parameter is a temporary name.

Parameters
sThe account name.
Returns
True if the account name in parameter is a temporary name.