@shi-corp/objectid-converter
Version:
Converts Microsoft Object IDs to and from SIDs.
8 lines (7 loc) • 330 B
TypeScript
import { type tags } from 'typia';
/**
* Converts an Object ID to a SID.
* @param objectId The Microsoft Object ID (in GUID format) to convert to a SID.
* @returns A Security Identifier, which is useful in Windows Server AD and Windows.
*/
export declare function convertToSid(objectId: string & tags.Format<'uuid'>): string;