Поделиться через


LSA_SID_NAME_MAPPING_OPERATION_ERROR enumeration

The LSA_SID_NAME_MAPPING_OPERATION_ERROR enumeration defines values used to indicate the type of error encountered during SID name mapping operations.

Syntax

typedef enum _LSA_SID_NAME_MAPPING_OPERATION_ERROR { 
  Success,
  NonMappingError,
  NameCollision,
  SidCollision,
  DomainNotFound,
  DomainSidPrefixMismatch  = 6,
  MappingNotFound          = 7
} LSA_SID_NAME_MAPPING_OPERATION_ERROR;

Constants

  • Success
    Operation is completed successfully.

  • NonMappingError
    An error not related to sid-name mapping occurred.

  • NameCollision
    Operation failed because there is a name collision.

  • SidCollision
    Operation failed because there is a SID collision.

  • DomainNotFound
    Operation failed because corresponding domain is not found.

  • DomainSidPrefixMismatch
    Operation failed because the sid presented doesn’t have the domain prefix.

  • MappingNotFound
    Operation failed because the mapping is not found in the cache.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecapi.h

See also

LsaManageSidNameMapping