public struct UserProfileInfoPublic Structure UserProfileInfo
Dim instance As UserProfileInfopublic value class UserProfileInfo[<SealedAttribute>]
type UserProfileInfo =
struct
inherit ValueType
endNo code example is currently available or this language may not be supported.| UserProfileInfo | Initializes a new instance of the UserProfileInfo structure. |
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
| DefaultPath | A pointer to the default user profile path. This member can be . |
| Flags | Profle flags. |
| PolicyPath | Not used, set it to . |
| ProfilePath | A pointer to the roaming user profile path. If the user does not have a roaming profile, this member can be . To retrieve the user's roaming profile path, call the NetUserGetInfo function, specifying information level 3 or 4. |
| RegistryHandle | A handle To the HKEY_CURRENT_USER registry subtree. |
| ServerName | A pointer To the name Of the validating domain controller, In NetBIOS format. |
| SizeOfStruct | The size of this structure, In bytes. Set this member to Marshal.SizeOf(Of UserProfileInfo) before calling any function. |
| UserName | A pointer to the name of the user. This member is used as the base name of the directory in which to store a new profile. |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |