Click or drag to resize
RoleInfoProviderGetRoleInfoByGUID Method

Note: This API is now obsolete.

Returns object with specified GUID.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRoleInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RoleInfo.Provider.")]
public static RoleInfo GetRoleInfoByGUID(
	Guid guid,
	int siteId
)

Parameters

guid
Type: SystemGuid
Object GUID
siteId
Type: SystemInt32
Site ID

Return Value

Type: RoleInfo
See Also