GetEntrySchemaPath Method

This method returns the value set in the specified Active User Object (AUO) provider definition under the name Schema.

IDL Definition

HRESULT GetEntrySchemaPath(
[in]          BSTR  bszEntryName,
[out, retval] BSTR* pbszSchemaPath
);

Parameters

bszEntryName

The name of the AUO provider

pbszSchemaPath

On return, the ADSI path to the schema object.

Return Values

a standard HRESULT value

Remarks

This value is fetched directly from the AUO provider definition under the name Schema.  See the AuoConfig class for information about how to set this value.

Example

VBScript in an ASP script

<%
Set ISchemaObjects = Server.CreateObject("Membership.SchemaObjects")
' the default AUO entry schema path
DefPath = ISchemaObjects.GetEntrySchemaPath("") 

' a named AUO entry schema path
Path2 = ISchemaObjects.GetEntrySchemaPath("SomeAUOAlias")
%>

See Also

Class AuoConfig


© 1997-1998 Microsoft Corporation. All rights reserved.